package com.guigu.www.erp.dengtao.service.impl;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.guigu.www.erp.common.pojo.DModuleDetails;
import com.guigu.www.erp.common.pojo.MDesignProcedure;
import com.guigu.www.erp.common.pojo.PageVo;
import com.guigu.www.erp.dengtao.service.DModuleDetailsService;
import com.guigu.www.erp.tangyingmeng.dao.DModuleDetailsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class DModuleDetailsServiceImpl implements DModuleDetailsService {
    @Autowired
    DModuleDetailsMapper dModuleDetailsMapper;

    @Override
    public List<DModuleDetails> cpgxsj(String id) {

        List<DModuleDetails> mDesignProcedureList=dModuleDetailsMapper.gxwlsjd(id);
     return  mDesignProcedureList;

    }

    @Override
    public void up(Integer amount, String productId) {
        dModuleDetailsMapper.up(amount,productId) ;
    }
}
